import { Injectable } from '@angular/core';
import { Headers, Http } from '@angular/http';
import { ServiceBasic } from 'src/kalend';

@Injectable()
export class VersionCheckService extends ServiceBasic  {
  public needRefresh = false;

  constructor(http: Http) { super('/api', http); }

  check(): Promise<any> {
    return this.httpget('/web_version', {noMask: true});
  }


}
